﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace AdminUI.Controllers
{
    public class HomeController : BaseController
    {
        public ActionResult Index()
        {
            return View();
        }
        public ActionResult HomepageOne()
        {
            return View();
        }
        public ActionResult HomepageTwo()
        {
            return View();
        }
        /// <summary>
        /// 控制台Iframe页
        /// </summary>
        /// <returns></returns>
        public ActionResult Console()
        {
            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }

        //public ActionResult LogOut()
        //{
        //    if (Request.Cookies["AuthenCookie"] != null)
        //    {
        //        Response.Cookies["AuthenCookie"].Expires = DateTime.Now.AddDays(-1);
        //        Response.Cookies["AuthenCookie"].Path = "/";
        //    }
        //    return RedirectToAction("Login", "Account");
        //}
    }
}